package test.demo1;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;

public class test1 {
    public static void main(String[] args) {
        ArrayList<Integer> a = new ArrayList<>();
        a.sort(Comparator.reverseOrder());
        a.toArray();

    }
}
